home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
snowball.swf
/
scripts
/
DefineSprite_181
/
frame_1
/
DoAction.as
Wrap
Text File
|
2011-08-19
|
307b
|
17 lines
this.onEnterFrame = function()
{
if(_root.startmoving == 1)
{
this._y -= _root.snowball.yspeed;
if(_Y < -10 - _height)
{
_Y = 500;
_X = random(500);
}
}
if(this.hitTest(_root.snowball.detector))
{
_root.snowball.play();
}
};